<ui:composition 
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <composite:interface>
        <composite:attribute name="title" type="java.lang.String"/>
        <composite:attribute name="style" type="java.lang.String" default=""/> 
    </composite:interface>

    <composite:implementation>
        <ui:fragment rendered="#{cc.attrs.rendered}">
            <div class="ds-titlebar" style="#{cc.attrs.style}">
                <div class="ds-titlebar-title"><h2>#{cc.attrs.title}</h2></div>
                <div class="ds-buttonset ds-buttonset-single ds-titlebar-buttonset">
                    <composite:insertChildren/>
                </div>
            </div>
        </ui:fragment>
    </composite:implementation>
</ui:composition>